package com.bjsxt.Generic;

import javax.crypto.spec.PSource;

public class IgennericImp1 implements Igenneric<String>{

    @Override
    public String getName(String name) {
        return name;
    }
}

class Test2{
    public static void main(String[] args) {
        IgennericImp1 igennericImp1 = new IgennericImp1();
        String name= igennericImp1.getName("sdkfg");
        System.out.println(name);

        Igenneric<String> igenneric1 = new IgennericImp1();

        System.out.println(igenneric1.getName("jtda"));
    }
}